﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace FileUploader.Web {
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IFileUploaderService" in both code and config file together.
    [ServiceContract]
    public interface IFileUploaderService {
        [OperationContract]
        List<string > GetFilesOnServer();

        [OperationContract]
        void SendFile(Stream input);

        [OperationContract]
        void SetFileName(string name);

        [OperationContract]
        void DeleteFile(List<string> fileNames);

    }
}
